package com.dropdb.demo.service;

import com.dropdb.demo.bean.vo.BaseData;
import com.dropdb.demo.bean.Comment;
import com.dropdb.demo.bean.bo.AdminListCommentsBO;
import com.dropdb.demo.bean.vo.CommentCountData;
import com.dropdb.demo.bean.vo.CommentListData;

public interface CommentService {
    BaseData ListComments(AdminListCommentsBO listCommentsBO);

    void deleteComment(Comment comment);


    //前台功能
    CommentCountData commentCount(Integer valueId, Byte type);

    CommentListData commentList(Integer valueId, Byte type, Integer size, Integer page, Integer showType);


    Integer submitTypeCommit(Comment comment, Integer userId);
}
